<?php
namespace App\Common;

use Illuminate\Support\Facades\DB;

/*
 * 数据库工具类
 */
class DbUtil 
{
    public static function beginTransaction() {
        DB::beginTransaction();
    }

    public static function begin() {
        DB::beginTransaction();
    }
    public static function rollback() {
        DB::rollback();
    }

    public static function commit() {
        DB::commit();
    }

}
